<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            padding:50px;
            background: rgb(218, 181, 181);
        }
        .box2{
            width:100px;
            height: 100px;
            background: rgb(160, 116, 33);
        }
    </style>
</head>
<body>
    <div id="app">
        <input type="text" v-model="txt">
        {{txt}}
        <input type="checkbox" v-model="isChecked">
        {{ isChecked?'明天放一天假':'周末补两天课' }}
        爱好有哪些：
        <input type="checkbox" value="篮球" v-model="arr">
        <input type="checkbox" value="足球" v-model="arr">
        <input type="checkbox" value="皮球" v-model="arr">
        {{ arr }}


        
    </div>
    <script src="./vue.js"></script>
    <script>
        let vm = new Vue({
            el:"#app",
            data:{
                txt:"",
                isChecked:true,
                arr:[]
            }
            
        })
    </script>
</body>
</html>